First step toward building drivers/xen for ia64 out of sparse
authordjm@kirby.fc.hp.com <djm@kirby.fc.hp.com>
Fri, 23 Sep 2005 00:05:29 +0000 (18:05 -0600)
committerdjm@kirby.fc.hp.com <djm@kirby.fc.hp.com>
Fri, 23 Sep 2005 00:05:29 +0000 (18:05 -0600)
linux-2.6-xen-sparse/arch/ia64/Kconfig
linux-2.6-xen-sparse/arch/xen/configs/xen0_defconfig_ia64
linux-2.6-xen-sparse/include/asm-xen/asm-ia64/hypervisor.h

index 313ef812bc3fd4bf255a5acaeff7faa718d817e5..b0bc8e21c98453b70ba3a00e223624395de7590e 100644 (file)
@@ -53,6 +53,18 @@ config XEN
          Enable Xen hypervisor support.  Resulting kernel runs
          both as a guest OS on Xen and natively on hardware.
 
+config ARCH_XEN
+       bool
+       default y
+       help
+         TEMP ONLY. Needs to be on for drivers/xen to build.
+
+config XEN_PRIVILEGED_GUEST
+       bool
+       default n
+       help
+         Used in drivers/xen/privcmd.c.  Should go away?
+
 config XEN_PHYSDEV_ACCESS
        depends on XEN
        bool
index 132b57be0fa7cf5d3562b89eb4a08c3fc8a54220..b26686a525145258960058eee9006d3e7df64182 100644 (file)
@@ -68,6 +68,8 @@ CONFIG_TIME_INTERPOLATION=y
 CONFIG_EFI=y
 CONFIG_GENERIC_IOMAP=y
 CONFIG_XEN=y
+CONFIG_ARCH_XEN=y
+CONFIG_XEN_PRIVILEGED_GUEST=y
 CONFIG_XEN_PHYSDEV_ACCESS=y
 CONFIG_XEN_BLKDEV_GRANT=y
 CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
index 879acbc7e028cb02eb028cdfb8c3466103d964d7..ac2ae71c540ac57c6643cf1f4288eb95d7a93d9e 100644 (file)
@@ -45,4 +45,9 @@ void force_evtchn_callback(void);
 
 #include <asm/hypercall.h>
 
+// for drivers/xen/privcmd/privcmd.c
+#define direct_remap_pfn_range(a,b,c,d,e,f) remap_pfn_range(a,b,c,d,e)
+#define        pfn_to_mfn(x)   (x)
+#define machine_to_phys_mapping 0
+
 #endif /* __HYPERVISOR_H__ */